package com.yuantong.xyerp.core.provider.service;

import com.yuantong.xyerp.core.api.model.CashFlow;
import com.yuantong.xyerp.core.api.service.ICashFlowService;
import com.yuantong.xyerp.core.provider.dao.CashFlowMapper;
import org.apache.ibatis.annotations.ResultMap;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;
import java.util.List;

/**
 * Created by Jianguo.Yin on 2021-08-03.
 */
@Service
public class CashFlowServiceImpl implements ICashFlowService {
    @Resource
    private CashFlowMapper cashFlowMapper;

    @Override
    public List<CashFlow> findByFuzz(Date startTime, Date endTime, String fuzzy, List<String> ids) {
        return cashFlowMapper.findByFuzz(startTime, endTime, fuzzy, ids);
    }
}
